package com.sunda.spmswms.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 上架任务表明细
 * </p>
 *
 * @author Wayne
 * @since 2021-03-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("SHELF_ON_TASK_DTL")
@ApiModel(value="ShelfOnTaskDtl对象", description="上架任务表明细")
public class ShelfOnTaskDtl implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "上架任务UUID")
    @TableField("UUID")
    private String uuid;

    @ApiModelProperty(value = "上架任务行号")
    @TableField("TASK_ROW_ID")
    private String taskRowId;

    @ApiModelProperty(value = "物料编号")
    @TableField("MATERIAL_NO")
    private String materialNo;

    @ApiModelProperty(value = "箱码-仅用于自管仓备件管理")
    @TableField("BOX_NOTE")
    private String boxNote;

    @ApiModelProperty(value = "数量")
    @TableField("QUANTITY")
    private Double quantity;

    @ApiModelProperty(value = "当前储位UUID")
    @TableField("CURRENT_STORAGE")
    private String currentStorage;

    @ApiModelProperty(value = "目标储位UUID")
    @TableField("TARGET_STORAGE")
    private String targetStorage;

    @ApiModelProperty(value = "SAP交货单号")
    @TableField("DELIVERY_NOTE_SAP")
    private String deliveryNoteSap;

    @ApiModelProperty(value = "实际操作数量/实际下架数量")
    @TableField("ACTUAL_OPERATE_QTY")
    private Double actualOperateQty;

    @ApiModelProperty(value = "是否原单据行项目，默认空。出库任务用户可新增行，新增行赋值1.")
    @TableField("UNPLANNED")
    private String unplanned;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public String getTaskRowId() {
        return taskRowId;
    }

    public void setTaskRowId(String taskRowId) {
        this.taskRowId = taskRowId;
    }

    public String getMaterialNo() {
        return materialNo;
    }

    public void setMaterialNo(String materialNo) {
        this.materialNo = materialNo;
    }

    public String getBoxNote() {
        return boxNote;
    }

    public void setBoxNote(String boxNote) {
        this.boxNote = boxNote;
    }

    public Double getQuantity() {
        return quantity;
    }

    public void setQuantity(Double quantity) {
        this.quantity = quantity;
    }

    public String getCurrentStorage() {
        return currentStorage;
    }

    public void setCurrentStorage(String currentStorage) {
        this.currentStorage = currentStorage;
    }

    public String getTargetStorage() {
        return targetStorage;
    }

    public void setTargetStorage(String targetStorage) {
        this.targetStorage = targetStorage;
    }

    public String getDeliveryNoteSap() {
        return deliveryNoteSap;
    }

    public void setDeliveryNoteSap(String deliveryNoteSap) {
        this.deliveryNoteSap = deliveryNoteSap;
    }

    public Double getActualOperateQty() {
        return actualOperateQty;
    }

    public void setActualOperateQty(Double actualOperateQty) {
        this.actualOperateQty = actualOperateQty;
    }

    public String getUnplanned() {
        return unplanned;
    }

    public void setUnplanned(String unplanned) {
        this.unplanned = unplanned;
    }
}
